from typing import Annotated

from pydantic import Field

from owl_common.base.model import AuditEntity, VoAccess


class ChatMessage(AuditEntity):
    role: Annotated[str, Field(default=None, vo=VoAccess(query=True))]
    content: Annotated[str, Field(default=None, vo=VoAccess(query=True))]

